/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cip.esymons.general.util;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import net.sf.jasperreports.engine.JRExporter;
import net.sf.jasperreports.engine.JasperPrint;

/**
 *
 * @author Gilmar Montoya
 */
public interface FactoriaJRExporterInterfaz {

    String PDF = "pdf";
    String EXCEL = "xls";
    String WORD = "doc";
    String HTML = "html";
    String OPEN_OFFICE = "odt";
    String TEXT = "text";
    String CSV = "csv";
    String PRINTER = "printer";
    String PNG = "png";

    JRExporter exportar(ListaSerializada<JasperPrint> jasperPrintList, HttpServletResponse response) throws IOException;

    String getMimeType();

    String getFileExtension();
}
